package com.whfc.cncit.entity;

import lombok.Data;

/**
 * @Description: 工牌消息
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/10/24 17:01
 */
@Data
public abstract class CncitMsg {

    public abstract String getCmd();

    public abstract int getDataLength();

    public int getTotalLength() {
        return getDataLength() + 3;
    }
}
